from django.urls import path
from . import District, SubDistrict, Community, Query, Address, Upload

urlpatterns = [
    path('district', District.District),
    path('subDistrict', SubDistrict.SubDistrict),
    path('community', Community.Community),
    path('address', Address.Address),
    path('querySubDistrictByDistrict', Query.querySubDistrictByDistrict),
    path('queryCommunityBySubDistrict', Query.queryCommunityBySubDistrict),
    path('queryAddressByCommunity', Query.queryAddressByCommunity),
    path('queryCommunityByName', Query.queryCommunityByName),
    path('queryAddressByName', Query.queryAddressByName),
    path('getCommunityById', Query.getCommunityById),
    path('getAddressById', Query.getAddressById),
    path('importResource', Upload.importResource),
    path('downloadResource', Upload.downloadResource)


]
